package com.bicon.base.data.pojo.botu;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 降价通知
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("notice_reduction")
public class NoticeReduction extends Model<NoticeReduction> {

    private static final long serialVersionUID = 1L;

    /**
     * 降价id
     */
    private String id;
    /**
     * 手机号
     */
    @TableField("mobile_phone_no")
    private String mobilePhoneNo;
    /**
     * 期望价格
     */
    @TableField("hope_price")
    private BigDecimal hopePrice;
    /**
     * 被动发送短信状态 0：未发送 1：已发送
     */
    private String state;
    /**
     * 删除标志
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 修改时间
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     * 通知 0:系统和短信通知 1：仅系统通知
     */
    private String notice;
    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;
    /**
     * 产品ID
     */
    @TableField("product_id")
    private String productId;
    /**
     * 用户姓名
     */
    @TableField("user_name")
    private String userName;
    /**
     * 商品仓库id
     */
    @TableField("product_repertoryId")
    private String productRepertoryid;
    /**
     * 主动发送短信 0：未通知  1：已通知
     */
    @TableField("merchant_state")
    private String merchantState;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMobilePhoneNo() {
        return mobilePhoneNo;
    }

    public void setMobilePhoneNo(String mobilePhoneNo) {
        this.mobilePhoneNo = mobilePhoneNo;
    }

    public BigDecimal getHopePrice() {
        return hopePrice;
    }

    public void setHopePrice(BigDecimal hopePrice) {
        this.hopePrice = hopePrice;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getProductRepertoryid() {
        return productRepertoryid;
    }

    public void setProductRepertoryid(String productRepertoryid) {
        this.productRepertoryid = productRepertoryid;
    }

    public String getMerchantState() {
        return merchantState;
    }

    public void setMerchantState(String merchantState) {
        this.merchantState = merchantState;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "NoticeReduction{" +
        "id=" + id +
        ", mobilePhoneNo=" + mobilePhoneNo +
        ", hopePrice=" + hopePrice +
        ", state=" + state +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", notice=" + notice +
        ", userId=" + userId +
        ", productId=" + productId +
        ", userName=" + userName +
        ", productRepertoryid=" + productRepertoryid +
        ", merchantState=" + merchantState +
        "}";
    }
}
